﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Joy.Erp.Ufida.Core
{
    public interface IDocumentEntitySyncAppService
    {
        Task<AnalysisDto> Analyze‌Async(DateTime start, DateTime end);
        Task<List<long>> GetUnasyncIds(DateTime start, DateTime end);
        Task<List<long>> GetSyncedIds(DateTime start, DateTime end);
        Task<int> CreateByIds‌Async(long[] ids, DateTime start, DateTime end);
        Task<int> UpdateByIds‌Async(long[] ids, DateTime start, DateTime end);
    }
}
